/*
 * Copyright (c) 2019-2020, https://api.iot.10086.cn/(https://gitee.com/cmcc-iot-api/iot-card-open-application/).
 */
package cn.iot.card.open.sim.dto.siminfo;

/**
 * 物联卡实名登记
 *
 * @author zhanlele
 * @date 20200327 12:26:33
 * @modify 20200327 zhanlele v1.1.2 创建
 * @since v1.1.2
 */
public class SimRealNameRegisterDTO {
    /**
     * msisdn 物联卡MSISDN号
     */
    private String msisdn;
    /**
     * iccid 物联卡ICCID号
     */
    private String iccid;
    /**
     * idName 身份证姓名
     */
    private String idName;
    /**
     * idNo 身份证号码
     */
    private String idNo;
    /**
     * idAddr 身份证地址
     */
    private String idAddr;
    /**
     * idValiddate 身份证生效时间
     */
    private String idValiddate;
    /**
     * idExpdate 身份证失效时间
     */
    private String idExpdate;
    /**
     * gender 性别
     */
    private String gender;
    /**
     * nation 民族
     */
    private String nation;
    /**
     * birthday 出生日期
     */
    private String birthday;
    /**
     * custPhoneNo 手机号码
     */
    private String custPhoneNo;
    /**
     * issuingAuthority 身份证签发机关
     */
    private String issuingAuthority;
    /**
     * picType 图片场景
     */
    private String picType;

    /**
     * 用户现场人像图片
     */
    private String userPicStr;

    /**
     * 用户身份证芯片头像图片
     */
    private String idCardPicFaceStr;

    /**
     * 用户身份证正面图片
     */
    private String idCardPicFrontStr;

    /**
     * 用户身份证反面图片
     */
    private String idCardPicBackStr;

    public String getMsisdn() {
        return msisdn;
    }

    public void setMsisdn(String msisdn) {
        this.msisdn = msisdn;
    }

    public String getIccid() {
        return iccid;
    }

    public void setIccid(String iccid) {
        this.iccid = iccid;
    }

    public String getIdName() {
        return idName;
    }

    public void setIdName(String idName) {
        this.idName = idName;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    public String getIdAddr() {
        return idAddr;
    }

    public void setIdAddr(String idAddr) {
        this.idAddr = idAddr;
    }

    public String getIdValiddate() {
        return idValiddate;
    }

    public void setIdValiddate(String idValiddate) {
        this.idValiddate = idValiddate;
    }

    public String getIdExpdate() {
        return idExpdate;
    }

    public void setIdExpdate(String idExpdate) {
        this.idExpdate = idExpdate;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getCustPhoneNo() {
        return custPhoneNo;
    }

    public void setCustPhoneNo(String custPhoneNo) {
        this.custPhoneNo = custPhoneNo;
    }

    public String getIssuingAuthority() {
        return issuingAuthority;
    }

    public void setIssuingAuthority(String issuingAuthority) {
        this.issuingAuthority = issuingAuthority;
    }

    public String getPicType() {
        return picType;
    }

    public void setPicType(String picType) {
        this.picType = picType;
    }

    public String getUserPicStr() {
        return userPicStr;
    }

    public void setUserPicStr(String userPicStr) {
        this.userPicStr = userPicStr;
    }

    public String getIdCardPicFaceStr() {
        return idCardPicFaceStr;
    }

    public void setIdCardPicFaceStr(String idCardPicFaceStr) {
        this.idCardPicFaceStr = idCardPicFaceStr;
    }

    public String getIdCardPicFrontStr() {
        return idCardPicFrontStr;
    }

    public void setIdCardPicFrontStr(String idCardPicFrontStr) {
        this.idCardPicFrontStr = idCardPicFrontStr;
    }

    public String getIdCardPicBackStr() {
        return idCardPicBackStr;
    }

    public void setIdCardPicBackStr(String idCardPicBackStr) {
        this.idCardPicBackStr = idCardPicBackStr;
    }

    @Override
    public String toString() {
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append("所查询的物联卡号码:").append(msisdn).append(",");
        stringBuilder.append("集成电路卡识别码:").append(iccid).append(",");
        stringBuilder.append("身份证姓名:").append(idName).append(",");
        stringBuilder.append("身份证号:").append(idNo).append(",");
        stringBuilder.append("身份证地址:").append(idAddr).append(",");
        stringBuilder.append("身份证生效时间:").append(idValiddate).append(",");
        stringBuilder.append("身份证失效时间:").append(idExpdate).append(",");
        if ("0".equals(gender)) {
            stringBuilder.append("性别:女").append(",");
        } else if ("1".equals(gender)) {
            stringBuilder.append("性别:男").append(",");
        }
        stringBuilder.append("民族:").append(nation).append(",");
        stringBuilder.append("生日:").append(birthday).append(",");
        stringBuilder.append("签证机关:").append(issuingAuthority).append(",");
        stringBuilder.append("用户手机号:").append(custPhoneNo).append(",");
        if ("0".equals(picType)) {
            stringBuilder.append("图片场景:人像图片").append(",");
        }
        stringBuilder.append("用户现场人像图片:").append(userPicStr).append(",");
        stringBuilder.append("用户身份证芯片头像图片:").append(idCardPicFaceStr).append(",");
        stringBuilder.append("用户身份证正面图片:").append(idCardPicFrontStr).append(",");
        stringBuilder.append("用户身份证反面图片:").append(idCardPicBackStr);

        return stringBuilder.toString();
    }
}
